package com.xqboss.apps.enums.order;

import com.xqboss.common.enums.BaseEnum;

/**
 * 分账状态
 */
public enum DivideStatusEnum implements BaseEnum<Integer> {
    WAIT(0, "未开始"),
    PROCESSING(1, "进行中"),
    SUCCESS(2, "成功"),
    COMPLETE(3, "完结"),
    FAIL(-1, "失败"),
    ;

    private final Integer value;
    private final String msg;

    DivideStatusEnum(Integer value, String msg){
        this.value = value;
        this.msg = msg;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
